package com.kuqi.crs.workbench.service;

import com.kuqi.crs.settings.domain.User;
import com.kuqi.crs.vo.PaginationVO;
import com.kuqi.crs.workbench.domain.Activity;
import com.kuqi.crs.workbench.domain.ActivityRemark;

import java.util.List;
import java.util.Map;

/**
 * @author:kuqi
 * @createTime:2021/9/24 21:47
 * @description:
 */
    public interface ActivityService {

    boolean save(Activity a);

    PaginationVO<Activity> dataList(Map<String, Object> map);

    boolean delete(String[] ids);

    PaginationVO<User> getUserListAndActivityList(String id);

    boolean update(Map<String, Object> map);

    Activity detail(String id);

    List<ActivityRemark> getActivityListById(String activityId);

    boolean deleteRemark(String id);

    boolean saveRemark(ActivityRemark ar);

    boolean updateRemark(ActivityRemark ar);
}
